package com.training1.core.modules.dao;

import java.util.List;
import java.util.Map;

import com.training1.core.common.dao.CrudDao;
import com.training1.core.common.dao.annotation.MyBatisDao;
import com.training1.core.entity.MemberEntity;
import com.training1.core.entity.NodeAccountEntity;

@MyBatisDao
public interface APIAccountIncomeDao extends CrudDao<MemberEntity>{
//	获得该会员总收入
	String getTotalIncome(String cellphone);
//	获得该会员总推荐奖
	String getRecommendSum(String cellphone);
//	获得总推荐奖不为0的被推荐人列表
	List<NodeAccountEntity> getRecommendedList(Map<String,Object> map);
}
